let data1 = {
    "data": {
        "bixucanjiadehuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "cwh_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "yueduxieshanghui_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "minzhujianduhuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "cwyearreport_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "zhengxiejiangtang_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "jiebielianxiqunzhong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "qwh_summary": [
            {
                "name": "总次数",
                "count": 1
            }
        ],
        "meitilvzhihuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "zhuanxiefabiaowenzhang_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "qitahuiyi_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "wudapingtailvzhihuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "tian_summary": [
            {
                "name": "个人提案",
                "count": "4"
            },
            {
                "name": "联名提案",
                "count": "3"
            }
        ],
        "mszh_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "tongxinhuiqiantouweiyuan_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "xuexipeixun_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "zxh_summary": [
            {
                "name": "总次数",
                "count": 1
            }
        ],
        "qitahuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ]
    }
}

let data2 = {
    "data": {
        "bixucanjiadehuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "cwh_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "yueduxieshanghui_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "minzhujianduhuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "cwyearreport_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "zhengxiejiangtang_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "jiebielianxiqunzhong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "qwh_summary": [
            {
                "name": "总次数",
                "count": 1
            }
        ],
        "meitilvzhihuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "zhuanxiefabiaowenzhang_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "qitahuiyi_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "wudapingtailvzhihuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "tian_summary": [
            {
                "name": "个人提案",
                "count": "3"
            },
            {
                "name": "联名提案",
                "count": "0"
            }
        ],
        "mszh_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "tongxinhuiqiantouweiyuan_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "xuexipeixun_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ],
        "zxh_summary": [
            {
                "name": "总次数",
                "count": 1
            }
        ],
        "qitahuodong_summary": [
            {
                "name": "总次数",
                "count": 0
            }
        ]
    }
}

let obj1 = data1.data
let obj2 = data2.data

let arr1 = Object.keys(obj1).filter(key => key.endsWith("summary")).map(key => {
    let obj = {};
    obj[key] = obj1[key]
    return obj;
});
// console.log(JSON.stringify(arr1))

arr1.flatMap(obj => Object.values(obj)[0])
    .filter(item => item.name !== '总次数')
    .forEach(item => console.log(item))

